<template>
</template>

<script setup>
	import CustomNavigationBar from '@/components/CustomNavigationBar.vue';
	import { ref } from "vue"; 
	import http from '../../utils/http'; 
	import {
		onLoad,
		onPageScroll
	} from '@dcloudio/uni-app';
	onLoad((query) => { 
		uni.showLoading({
		 	title: '数据加载中',
		 	mask:true
		}); 
		if(query.scene){
			var scene=decodeURIComponent(query.scene);
			if(scene.indexOf("yanMa")!=-1){
				var orderId=scene.replace("yanMa=","");
				console.log("orderId",orderId)
			}
			if(scene.indexOf("shareId")!=-1){
				//回到首页完成注册
				wx.switchTab({
				  url: "/pages/home/home",
				  success: function(res) {
				    // 跳转成功
				  },
				  fail: function(err) {
				    // 错误处理
				  }
				})
			}
		} 
	}) 
</script >
	
<style>
</style>